]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
style: Fix color and margin issue in notification and dialog buttons
authorSam Hewitt <snwh@gnome.org>
Tue, 23 Jan 2024 15:17:09 +0000 (11:47 -0330)
committerMarge Bot <marge-bot@gnome.org>
Wed, 24 Jan 2024 14:08:12 +0000 (14:08 +0000)
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3138>

data/theme/gnome-shell-sass/_common.scss
data/theme/gnome-shell-sass/_drawing.scss

index a14012f7e6e3d01d9d81aac20c2ae659f0834e14..002dc6d22039b7a227e64227f250cea953c6d85b 100644 (file)
@@ -193,6 +193,9 @@ stage {
   padding: $base_padding * 2;
   font-weight: bold !important;
 
+  &:ltr {margin-right: 1px;}
+  &:rtl {margin-left: 1px;}
+
   // needs a 1px adjustment to fit exactly into the outer radius
   $bubble_button_radius: $modal_radius - 1px;
 
index b95dbba885a9b46bfa4182157f9739b4dcfd928d..d206d1c1940a60adb0174df9aed0ad6b5ce1103e 100644 (file)
   // background color override for card elements
   @if $style == 'card' { $button_bg_color: $card_bg_color;}
   // background color override for buttons in notifications
-  @if $style == 'bubble' { $button_bg_color: if($variant == 'light', darken($button_bg_color, 3%), lighten($button_bg_color, 10%));}
+  @if $style == 'bubble' { $button_bg_color: if($variant == 'light', darken($button_bg_color, 3%), lighten($button_bg_color, 5%));}
   // background color mix override for flat style; the button bg color is the background color input
   @if $style == 'flat' { $button_bg_color: $c;}
   // background color mix override for default button style